import request from '@/utils/request'

// 查询常见疾病治疗列表
export function listHealthDiseases(query) {
  return request({
    url: '/health/HealthDiseases/list',
    method: 'get',
    params: query
  })
}

// 查询常见疾病治疗详细
export function getHealthDiseases(id) {
  return request({
    url: '/health/HealthDiseases/' + id,
    method: 'get'
  })
}

// 新增常见疾病治疗
export function addHealthDiseases(data) {
  return request({
    url: '/health/HealthDiseases',
    method: 'post',
    data
  })
}

// 修改常见疾病治疗
export function updateHealthDiseases(data) {
  return request({
    url: '/health/HealthDiseases',
    method: 'put',
    data
  })
}

// 删除常见疾病治疗
export function delHealthDiseases(id) {
  return request({
    url: '/health/HealthDiseases/' + id,
    method: 'delete'
  })
}
